#include "sFontResource.h"
#include "sFontPreset.h"

namespace sgui
{
namespace res
{

const std::wstring sFontResource::RESOURCE_NAME = L"FNT";

#ifdef _EDITOR
void sFontResource::exportRTTI(rtti::sInfoList& list)
{
    sResource::exportRTTI(list);
}
#endif

void sFontResource::load(const db::Record &file)
{
	sResource::load(file);
    
}

void sFontResource::save(db::Record &file) const
{
	sResource::save(file);
}

void sFontResource::clear()
{
    sResource::clear();
}
        
preset::sPreset* sFontResource::getPreset(const std::wstring& name)
{
    return new preset::sFontPreset(getGui(), name, *this);
}

sFontResource::sFontResource(sGUI&gui, const std::wstring& name) :
    sResource(gui, name)
{
    //
}

sFontResource::~sFontResource()
{
    //
}

};
};